package com.tonicgb.service.constracts;


import com.tonicgb.shared.common.response.FileResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author zhaiyujin
 * @date 2021-09-07 16:36:17
 * @说明 多方式文件上传约束接口
 */
public interface UploadService {
    FileResult image(MultipartFile multipart,String Model, Integer pid) throws Exception;
    FileResult file(MultipartFile multipart,String Model, Integer pid)throws IOException, Exception;
}
